package com.demo.controller;

import com.demo.beans.ReturnData;

public class BaseAction {
    public static ReturnData createReturnData() {
        ReturnData data = new ReturnData();
        // 默认处理成功。
        data.put("bean",null);
        data.put("beans",null);
        data.put("returnCode", "9999");
        data.put("returnMsg", "处理失败");

        return data;
    }
}
